<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>学校奖励</title>
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<meta http-equiv="X-UA-Compatible" content="IE=7"/>
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/myresume.css" />
</head><body>
<form action="?" method="post" onsubmit="return Zvalidator.checkForm(this)">
    <table width="100%" class="form">
        <colgroup><col width="100">
        <col width="12">
        <col width="*">
        </colgroup><tbody><tr>
            <td class="label">奖项名称:</td>
            <td class="aster">*</td>
            <td class="input">
                <input type="text" id="title" name="title" validator="require" style="width:200px;" value="<?=$dataInfo['title']?>"/>
            </td>
        </tr>
        <tr>
            <td class="label">获奖时间:</td>
            <td class="aster">*</td>
            <td class="input"><select name="date_year" id="date_year" value="<?=$dataInfo['date_year']?>">
            <?
            $nowY = date("Y");
            for($i = 2000;$i<=$nowY;$i++){
                $selCss = $dataInfo['date_year'] == $i ? 'selected="true" ' : '';
                echo '<option value="'.$i.'"'.$selCss.'>'.$i.'</option>';
            }?>
        </select>年
        <select name="date_month" id="date_month" value="<?=$dataInfo['date_month']?>">
            <?
            for($i = 1;$i<=12;$i++){
                $selCss = $dataInfo['date_month'] == $i ? 'selected="true" ' : '';
                echo '<option value="'.$i.'"'.$selCss.'>'.$i.'</option>';
            }?>
        </select>月
            </td>
        </tr>
        <tr>
            <td class="label">所在学校:</td>
            <td class="aster">*</td>
            <td class="input">
                <select name="school" id="xiaonei-school-select">
                    <option value="">请选择</option>
                    <?
                    if($eduList){
                        foreach($eduList as $edu){
                            $schoolName = $edu['schoolName'];
                            $selCss = $schoolName == $dataInfo['school'] ? ' selected="true" ' : '';
                            echo '<option value="'.$schoolName.'" '.$selCss.'>'.$schoolName.'</option>';
                        }
                    }
                    ?>
                </select>
            </td>
        </tr>
        <tr>
            <td class="label">说明:</td>
            <td class="aster"></td>
            <td class="input">
            <textarea id="intro" name="intro" validator="require" style="width:400px;height:100px;"><?=$dataInfo['intro']?></textarea>
            <br/>(限300字)
            </td>
        </tr>
    </tbody></table>



    
<div class="inputdiv_btn">
    <button type="submit" class="big-default" ><span><span>确 定</span></span></button>
    <button class="normal" onclick="self.parent.tb_remove()" type="button"><span><span>取消</span></span></button>
</div>
<input type="hidden" value="MyResume" name="c"/>
<input type="hidden" value="SchoolAwardAdd" name="a"/>
<input type="hidden" value="<?=$uid?>" name="uid"/>
<input type="hidden" value="<?=$id?>" name="id"/>
</form>
<script language="javascript" src="js/jquery.js"></script>
<script language="javascript" src="js/validator.js"></script>
<script>
Zvalidator.init();
</script>
</body>

</html>